package com.example.chaindemo.web.version;

import java.lang.annotation.*;

/**
 * @author YDF
 * @date 2019/12/16
 */
@Documented
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface ApiVersion {
    /**
     * 版本号，默认从1开始
     * @return
     */
    int value() default 1;
}
